package com.youlai.system.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author 只茂瑞
 * @since 2024-06-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("approval")
public class Approval implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer userId;

    private String username;

    private Integer departmentId;

    private String processName;

    private String leaveName;

    private String leaveThings;

    private String leaveTime;

    private String leaveUnit;

    private String outThings;

    private LocalDate outTime;

    private String adaptationThing;

    private LocalDateTime adaptationStart;

    private LocalDateTime adaptationStop;

    private LocalDateTime approvalForm;

    private LocalDateTime approvalTo;

    private LocalDateTime approvalAdd;

    private LocalDateTime approvalUpdate;

    private Integer status;


}
